package com.situ.web.service.impl;

import java.util.ArrayList;
import java.util.List;

import com.situ.web.dao.IAreaDao;
import com.situ.web.dao.impl.AreaDaoImpl;
import com.situ.web.entity.Area;
import com.situ.web.entity.City;
import com.situ.web.entity.Province;
import com.situ.web.service.IAreaService;

public class AreaServiceImpl implements IAreaService {
	private IAreaDao areaDao = new AreaDaoImpl();

	@Override
	public List<Province> findlist() {
		return areaDao.findList();
	}

	@Override
	public List<City> findCity(int provinceId) {
		return areaDao.findCity(provinceId);
	}

	@Override
	public ArrayList<Area> findAllArea(int cityid) {
		return areaDao.finAllArea(cityid);
	}

}
